#include <stdio.h>

int *max(int *p1, int *p2);

int main(void)
{
	int a = 10, b = 5, *p;
	
	p = max(&a, &b);
	printf("The bigger value is %d.\n", *p);
	
	return 0;
}

int *max(int *p1, int *p2)
{
	if (*p1 > *p2)
		return p1;
	else
		return p2;
}